.takeATaxi {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;

  .map {
    flex: 1;
  }
  .place {
    display: flex;
    align-items: center;
    padding: 4px 10px;
  }
  .road-info {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
    background: #fff;
    // border: 1px solid ;
    border-radius: 50%;
    z-index: 999;
    box-shadow: 0 0 4px #999;
    .icon {
    }
  }
  .road-list {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
    z-index: 100;
    overflow: auto;

    line-height: 1.5;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 0;
    &.show {
      height: 60%;
    }
    .wrap,
    .wrap-after {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: top 0.1s;
      transition-timing-function: cubic-bezier(0.1, 0.68, 0.45, 0.87);
      padding: 10px;
      // height: 0;
      top: 100%;
      background: #fff;
      // transform-origin: bottom center;
    }
    .wrap {
      &.show {
        height: 100%;
        top: 0;
        // transform: translateY(0);
      }
    }
    .wrap-after {
      display: flex;
      flex-direction: column;
      top: 50%;
      transform: scaleY(1.3);
      transform-origin: top center;
      &.show {
        height: 100%;
        top: 0;
        transform: scaleY(1);
        transition: top 0.1s, transform 0.2s;
        transition-timing-function: cubic-bezier(0.1, 0.68, 0.45, 0.87);
        opacity: 1;
        // transform: translateY(0);
      }
    }
    .title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-shrink: 0;
    }
    .list {
      overflow: auto;
    }
    .navigation {
      padding: 2px 8px;
      background: #0f85f4;
      color: #fff;
      margin-left: 10px;
      font-size: 12px;
      border-radius: 4px;
    }
  }
}
